# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class AppSpdItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()

    url = scrapy.Field()
    title = scrapy.Field()
    author = scrapy.Field()
    pubtime = scrapy.Field()
    content = scrapy.Field()
    websiteId = scrapy.Field()#APP的ID
    pubSource = scrapy.Field()#APP名称

    urlid = scrapy.Field()
    crawlertime = scrapy.Field()

    serviceid = scrapy.Field()
    sourceType = scrapy.Field()
    pagename = scrapy.Field()
    pagecode = scrapy.Field()
    serviceid = scrapy.Field()
    childsiteId = scrapy.Field()

    duplicates = scrapy.Field()  # 是否重复


class AppSpdItem_new(scrapy.Item):
    url = scrapy.Field()
    title = scrapy.Field()
    author = scrapy.Field()
    pubtime = scrapy.Field()
    content = scrapy.Field()
    websiteId = scrapy.Field()#APP的ID
    pubSource = scrapy.Field()#APP名称

    urlid = scrapy.Field()
    crawlertime = scrapy.Field()

    serviceid = scrapy.Field()
    sourceType = scrapy.Field()
    pagename = scrapy.Field()
    pagecode = scrapy.Field()
    childsiteId = scrapy.Field()

    duplicates = scrapy.Field()  # 是否重复
    video_url = scrapy.Field()
    comment_count = scrapy.Field()  # 评论数
    up_count = scrapy.Field()  # 点赞数
    read_count = scrapy.Field()  # 阅读数